package com.corpgovernment.organization.entity.db;

import lombok.Data;

import javax.persistence.Column;
import javax.persistence.Id;

/**
 * 组织架构支付方式
 *
 * @author wangyujue
 */
@Data
public class MbOrgPayType {

    public MbOrgPayType() {

    }

    public MbOrgPayType(String orgId, String corpPayType, String paytype, String site) {
        this.orgId = orgId;
        this.corpPayType = corpPayType;
        this.paytype = paytype;
        this.site = site;
    }

    /**
     *
     */
    @Id
    @Column(name = "id")
    private Long id;
    /**
     *  组织结构id
     */
    @Column(name = "org_id")
    private String orgId;
    /**
     * 支付类型 因公PUB 因私OWN
     */
    @Column(name = "corp_pay_type")
    private String corpPayType;
    /**
     * 支付方式（ACCNT公司支付 PPAY个人支付）
     */
    @Column(name = "paytype")
    private String paytype;
    /**
     * 支付渠道  支付宝:AliPay 微信:WechatPay 银联:UnionPay
     */
    @Column(name = "pay_channel")
    private String payChannel;
    /**
     * 产线 机票flight 火车票train 酒店hotel 用车car 国际机票flightintl
     */
    @Column(name = "site")
    private String site;
    /**
     * 供应商code
     */
    @Column(name = "suppliercode")
    private String suppliercode;
    /**
     * 删除状态 0:未删除 1:删除
     */
    @Column(name = "is_deleted")
    private Integer isDeleted;
//    /**
//     *
//     */
//    @Column(name = "datachange_createtime")
//    private String datachangeCreatetime;
//    /**
//     *
//     */
//    @Column(name = "datachange_lasttime")
//    private String datachangeLasttime;
}
